package net.oxygen.upload.model;

import com.google.common.collect.Multimap;
import io.minio.messages.Part;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 功能：分片上传实体类
 * </p>
 *
 * @author 陈伟伟
 * @since 2023/12/18 14:45
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MultipartUploadCreate {

    private String bucketName;

    private String region;

    private String objectName;

    private Multimap<String, String> headers;

    private Multimap<String, String> extraQueryParams;

    private String uploadId;

    private Integer maxParts;

    private Part[] parts;

    private Integer partNumberMarker;
}
